import os

BASE_DIR = os.path.dirname(__file__)
ihrm_url = 'http://ihrm2-test.itheima.net'
TEL = "15879442283"
json_schema = {
    "type": "object",
    "properties": {
        "success": {"const":True},
        "code": {"const":10000},
        "message": {"pattern":"操作成功"}
    },
    "required": ["success", "code", "message"]
}

if __name__ == '__main__':
    print(BASE_DIR)
